acpi: Limit access to custom_method if securelevel is set
authorMatthew Garrett <mjg59@srcf.ucam.org>
Fri, 9 Mar 2012 13:39:37 +0000 (08:39 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 27 Feb 2017 15:58:07 +0000 (15:58 +0000)
commit603908341deeb8c272e2e92a926c9e39fb0a37b7
treea8615d7300d34266470845a5cebc20f128f0de9a
parentf60c8fdc9fc718aa799bbdcc4e860e6c18f4ab7b
acpi: Limit access to custom_method if securelevel is set

custom_method effectively allows arbitrary access to system memory, making
it possible for an attacker to modify the kernel at runtime. Prevent this
if securelevel has been set.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Gbp-Pq: Topic features/all/securelevel
Gbp-Pq: Name acpi-limit-access-to-custom_method-if-securelevel-is.patch
drivers/acpi/custom_method.c